<template>
  <div class="follow">
    <div class="login">
      <img src="https://m.mi.com/static/img/login.b5f7bfbcb5.png" alt=""/>
      <div class="desc">登录看关注人最新动态</div>
      <div class="button" @click="fn()">立即登录</div>
    </div>
  </div>
</template>
<script>
export default {
  name: "Follow",
  methods: {
    fn() {
      this.$router.push({ path: "/login" });
    },
  },
};
</script>
<style scoped lang="less">
.follow {
  width: 7.2rem;
  margin: 0 auto;
  .login {
    background-repeat: no-repeat;
    padding: 0;
    margin: 0;
    img {
      margin: 2.6rem auto 0.35rem;
      display: block;
      width: 3.17rem;
      height: auto;
    }
    .desc {
      margin-bottom: 0.6rem;
      font-size: 0.32rem;
      font-weight: 400;
      color: #333;
      line-height: 0.43rem;
      text-align: center;
    }
    .button {
      margin: 0 auto;
      width: 2.27rem;
      height: 0.72rem;
      line-height: 0.72rem;
      background: #ff5528;
      border-radius: 0.36rem;
      font-size: 0.28rem;
      font-weight: 400;
      color: #fff;
      text-align: center;
    }
  }
}
</style>